The WriteableBitmap.
The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
The color for the line.
The blend mode. Default is Alpha
FillPolygon(WriteableBitmap,Int32[],Int32,BlendMode) Method
Draws a filled polygon. Add the first point also at the end of the array if the line should be closed.
Syntax

Parameters

bmp
The WriteableBitmap.
points
The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
color
The color for the line.
blendMode
The blend mode. Default is Alpha
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also